package com.njym.java.security.admin.biz;

import com.njym.java.security.admin.entity.QuestionblVo;
import com.njym.java.security.admin.entity.Questiontbl;
import com.njym.java.security.admin.mapper.QuestiontblMapper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-03-10 14:13:20
 */
@Service
public class QuestiontblBiz extends BaseBiz<QuestiontblMapper, Questiontbl> {

    public List<QuestionblVo> getList(int investId) {
        return mapper.getList(investId);
    }

    public QuestionblVo getOneById(int questionId) {
        return mapper.getOneById(questionId);
    }
}